package sample.mybatis.mapper;

import org.apache.ibatis.annotations.Mapper;
import sample.mybatis.dto.StudentDto;
import java.util.List;
import java.util.Map;

public interface StudentMapper {

    StudentDto getById(Long Id);

    List<StudentDto> getByParam(Map<String,Object> param);

    Long insert(StudentDto obj);

    Long batchInsert(List<StudentDto> list);

    void update(StudentDto obj);

    void batchUpdate(List<StudentDto> list);

    void delete(StudentDto obj);

    void batchDelete(List<StudentDto> list);


}